package com.Abstract;

/**
 * @Author 小闽
 * @Date 2024/9/11 14:44
 * @PackageName: com.Abstract
 * @ClassName: CommonEmployee
 * @Description: 普通员工
 * @Version 1.0
 */
public class CommonEmployee  extends Employee{
    /**
     * 构造方法
     *
     * @param name
     * @param id
     * @param salary
     */
    public CommonEmployee(String name, int id, double salary) {
        super(name, id, salary);
    }

    @Override
    public void work() {
        System.out.println("普通员工" + getName() + "正在工作中...");
    }
}
